package command;

public class OrderCommand implements Command{

    private Operator recevier;
    private Order order;
    public OrderCommand(Operator receiver,Order order){
        this.recevier=receiver;
        this.order=order;
    }
    @Override
    public void execute() {
        System.out.println(order.getId()+"号顾客的成品");
        recevier.MarkFruit(order);
    }
}
